STEP 14: Our circle_display is not updating to display my_circle's new area! We need to fix that.

  • In the LOGIC tab, click on and drag out Update Display inside the move_mouse block.
  • Change the name before .update() to circle_display.
  • Change the argument in parentheses from my_var to circle_area.

Click Run and notice how the circle area display shows a different float number as you move your mouse!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)